<style>
    div .page-header-new{
        width:100%;
        height:50px;
        min-height:50px!important;
        line-height:50px;
        border-bottom:1px solid #666666!important;
    }
    .btn-header{
        border-radius: 0.5em;
        font-size:12px!important;
        margin-left:20px;
        margin-right:20px;
        background-color:#ffffff;
        border: 1px solid #666666;
    }
    .btn-new-friend{
        margin-left:80px;
        margin-right:60px;
    }
    .btn-display-left{
        margin-left:20px;
        margin-right:-2px;
        border-radius:0;
    }
    .btn-display-right{
        margin-left:-2px;
        margin-right:80px;
        border-radius:0;
    }
    .btn-delete{
        background-color:#ee162d;
    }
    .btn-active{
        background-color:#5dc2f1;
        border:none!important;
    }
    .btn{
        padding-left:30px!important;
        padding-right: 30px!important;
    }
    .title{
        font-size:20px;
        margin-left:50px;
        color:#0A0A0A;
    }
    #content-view{
        margin-top:20px;
    }
    .contact{
        margin-top:20px;
    }
    .ad{
        font-size:30px;
    }
</style>
<style>
    #cropArea{
        background: #E4E4E4;
        overflow: hidden;
        width:100%;
    }
</style>
<script>
    var divOne  = document.getElementById("cropArea");
    divOne.style.height = divOne.offsetWidth+"px";
</script>
<div id="calendar-view-new" class="container" style="margin:0 0 0 0;padding:0 0 0 0">
    <div class="row page-header-new" style="margin:0 0 0 0">
        <div class="pull-left title" style="cursor:pointer">
            <div ng-show="displayMode==1">个人联系人</div>
            <div ng-show="displayMode==2 || displayMode==3"><span ng-click="changeDisplayMode(1)">个人联系人</span>&nbsp;>{{addContactInfo.baseInfo.name}} </div>
            <div ng-show="displayMode==4"><span ng-click="changeDisplayMode(1)">个人联系人</span>&nbsp;>联系人筛选结果</div>
        </div>
    </div>
    <div ng-show="displayMode==1" class="row page-header-new">
        <div class="pull-left">
            <button class="btn btn-new-company btn-header" ng-click="changeDisplayMode(2)">新建联系人</button>

            <!--<button class="{{displayMode==2?'btn btn-header btn-active':'btn btn-header'}}" ng-click="changeDisplayMode(1)">设置标签</button>-->
            <button class="{{displayMode==2?'btn btn-header btn-active':'btn btn-header'}}" ng-click="filterContactList()">筛选</button>
            <input class="form-control" placeholder="搜索" ng-model="searchName" style="width:auto;display:inline"/>
        </div>
        <div class="pull-right">
            <div class="btn btn-display-left btn-header">导入</div>
            <div class="btn btn-display-right btn-header">导出</div>
            <div class="btn btn-delete btn-header" ng-click="deleteContacts()">删除</div>
        </div>
    </div>
    <div class="content-view">
        <table style="margin-left:20px;margin-right:20px" ng-show="displayMode==1 || displayMode==4" class="datatable table table-hover dataTable">
            <thead>
            <tr>
                <th style="width:5%"><input type="checkbox" ng-click="selectAll($event)" ng-checked="isSelectedAll()"/>#</th>
                <th style="width:10%" ng-click="orderByKey('name',$event)">姓名</th>
                <th style="width:5%" ng-click="orderByKey('name',$event)">性别</th>
                <th style="width:10%" ng-click="orderByKey('startTime',$event)">联系方式</th>
                <th style="width:20%" ng-click="orderByKey('endTime',$event)">公司</th>
                <th style="width:10%" ng-click="orderByKey('endTime',$event)">业务关系</th>
                <th style="width:30%" ng-click="orderByKey('endTime',$event)">标签</th>
                <th style="width:10%" ng-click="orderByKey('isImportant',$event)">类型</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="item in items|filter:searchName">
                <td><input type="checkbox" name="selected" ng-checked="isSelected(item.id)" ng-click="updateSelection($event,item.id)"/>{{$index+1}}</td>
                <td ng-click="editContact(item)">{{item.baseInfo.name}}</td>
                <td ng-click="editContact(item)">{{returnGenderName(item.baseInfo.gender)}}</td>
                <td ng-click="editContact(item)">{{item.baseInfo.mobileNumberList[0].value}}</td>
                <td ng-click="editContact(item)">{{item.userCompanyName}}</td>
                <td ng-click="editContact(item)">{{returnBusinessConnectionName(item.businessConnection)}}</td>
                <td ng-click="editContact(item)">{{item.baseInfo.tag}}</td>
                <td ng-click="editContact(item)">
                    <button ng-show="item.baseInfo.status==0" class="btn btn-xs btn-success center" style="padding:0 5px 0 5px!important;">好友</button>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="row" ng-show="displayMode==1 || displayMode==4">
            <div class="pull-left" style="margin-top:20px;margin-left:40px">
                总计联系人数目 : {{returnAllContactLength()}}
            </div>
            <div class="pull-right" style="margin-right:40px">
                <nav>
                    <ul class="pagination">
                        <li>
                            <a ng-click="Previous()" role="button">
                                <span role="button">上一页</span>
                            </a>
                        </li>
                        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" role="button">
                            <a ng-click="selectPage(page)" >{{ page }}</a>
                        </li>
                        <li>
                            <a ng-click="Next()" role="button">
                                <span role="button">下一页</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
        <div ng-show="displayMode==2 || displayMode==3" style="margin-top:30px">
            <div class="row" style="margin-left:30px;margin-right:30px">
                <div class="col-md-3" style="border:solid 1px #7c7c7c">
                    <div>
                        <div class="list-group">
                            <li class="list-group-item zero-padding" style="margin-top:20px">
                                <div>
                                    <div ng-show="myImage1!=''" id="cropArea">
                                        <!--<img-crop image="myImage" result-image="myCroppedImage" area-type="square" result-image-size="640" on-load-error="error()"></img-crop>-->
                                        <img-crop image="myImage1" result-image="myCroppedImage" area-type="square" result-image-size="640" on-load-begin="alert('begin')" on-load-error="alert('error')"></img-crop>
                                    </div>
                                </div>
                                <img ng-show="myImage1==''" width="100%" ng-src="{{addContactInfo.baseInfo.photoUrl!=undefined&&addContactInfo.baseInfo.photoUrl!=''?photoPrefixString + addContactInfo.baseInfo.photoUrl:'assets/img/addressbook/1.jpg'}}">
                            </li>
                            <div class="list-group-item profile-details">
                                <form name="form">
                                    <div>选择文件：<input class="form-control" type="file" id="fileInput1" name="file" ngf-select ng-model="file.photo" ngf-pattern="'image/*'" ngf-accept="'image/*'"/></div>
                                    <input class="btn btn-success" ng-show="myImage1!=''" type="button" ng-click="submit()" value="上传">
                                </form>
                                <!--<div class="row center" style="margin-top:30px">-->
                                    <!--&lt;!&ndash;<button class="btn btn-info">名片</button>&ndash;&gt;-->
                                <!--</div>-->
                                <div class="row center" style="margin-top:30px">
                                    <button class="btn btn-success" ng-click="saveUserContact()">保存</button>
                                    <button class="btn btn-danger" ng-click="changeDisplayMode(1)">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-9 box-auto" style="border:1px solid #7c7c7c">
                    <form name="addContact" style="margin-top:30px">
                        <div class="row contact" style="margin-bottom:20px">
                            <div class="col-md-1"></div>
                            <div class="col-md-5">
                                <div class="form-group">
                                    <div class="col-md-2">姓名</div>
                                    <div class="col-md-10">
                                        <input class="col-sm-10 form-control" type="text" id="name" placeholder="必填" ng-model="addContactInfo.baseInfo.name">
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                联系方式
                            </div>
                            <div class="box-body">
                                <div>
                                    <div class="row contact">
                                        <div class="col-md-1"></div>
                                        <div class="col-md-1">手机号</div>
                                        <div class="col-md-9">
                                            <div class="row contact" ng-repeat="item in addContactInfo.baseInfo.mobileNumberList track by $index">
                                                <div class="col-md-2"><input class="form-control" ng-model="item.name" placeholder="说明"/></div>
                                                <div class="col-md-8"><input class="form-control" ng-model="item.value" placeholder="号码"/></div>
                                                <div class="col-md-2"><i ng-click="deleteMobileNumberList($index)" class="fa fa-minus-circle ad"></i></div>
                                            </div>
                                            <div class="row contact">
                                                <i class="fa fa-plus-circle ad" ng-click="addMobileNumberList()"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <div class="row contact">
                                        <div class="col-md-1"></div>
                                        <div class="col-md-1">固定电话</div>
                                        <div class="col-md-9">
                                            <div class="row contact" ng-repeat="item in addContactInfo.baseInfo.fixedNumberList track by $index">
                                                <div class="col-md-2"><input class="form-control" ng-model="item.name" placeholder="说明"/></div>
                                                <div class="col-md-8"><input class="form-control" ng-model="item.value" placeholder="号码"/></div>
                                                <div class="col-md-2"><i ng-click="deleteFixedNumberList($index)" class="fa fa-minus-circle ad"></i></div>
                                            </div>
                                            <div class="row contact">
                                                <i class="fa fa-plus-circle ad" ng-click="addFixedNumberList()"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <div class="row contact">
                                        <div class="col-md-1"></div>
                                        <div class="col-md-1">邮箱</div>
                                        <div class="col-md-9">
                                            <div class="row contact" ng-repeat="item in addContactInfo.baseInfo.emailList track by $index">
                                                <div class="col-md-2"><input class="form-control" ng-model="item.name" placeholder="说明"/></div>
                                                <div class="col-md-8"><input class="form-control" ng-model="item.value" placeholder="号码"/></div>
                                                <div class="col-md-2"><i ng-click="deleteEmailList($index)" class="fa fa-minus-circle ad"></i></div>
                                            </div>
                                            <div class="row contact">
                                                <i class="fa fa-plus-circle ad" ng-click="addEmailList()"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <div class="row contact">
                                        <div class="col-md-1"></div>
                                        <div class="col-md-1">地址</div>
                                        <div class="col-md-9">
                                            <div class="row contact" ng-repeat="x in addContactInfo.baseInfo.addresss track by $index">
                                                <div class="row">
                                                    <div class="col-md-2">四级地址</div>
                                                    <div class="col-md-8">
                                                        <city-four-select province="x.province" city="x.city" district="x.district" street="x.street"></city-four-select>
                                                    </div>
                                                    <div class="col-md-2"><i ng-click="deleteAddressList($index)" class="fa fa-minus-circle ad"></i></div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-md-2">地址详情</div>
                                                    <div class="col-md-8">
                                                        <input class="form-control" ng-model="x.detailAddress"/>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row contact">
                                                <i class="fa fa-plus-circle ad" ng-click="addAddressList()"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">微信号</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.wechat"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">QQ号</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.qq"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                基本信息
                            </div>
                            <div class="box-body">
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">英文名</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.englishName"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">别名</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.alias"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">性别</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in genderList" ng-model="addContactInfo.baseInfo.gender"></select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">生日</div>
                                            <div class="col-md-10">
                                                <input class="form-control" type="date" ng-model="addContactInfo.baseInfo.birthDate"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">身高</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.height" style="width:90%;display:inline"/>cm
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">体重</div>
                                            <div class="col-md-9">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.weight" style="width:90%;display:inline"/>kg
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">民族</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.ethnic"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                个性信息
                            </div>
                            <div class="box-body">
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">昵称</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.personalityInfo.nickName"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">爱好</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.personalityInfo.hobby"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">个性</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.personalityInfo.character1"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">星座</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in constellationList" ng-model="addContactInfo.personalityInfo.constellation"></select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">血型</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in bloodList" ng-model="addContactInfo.personalityInfo.blood"></select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">友好程度</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in friendshipToMeList" ng-model="addContactInfo.personalityInfo.friendshipToMe"></select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">与我关系</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in personalConnectionList" ng-model="addContactInfo.personalityInfo.personalConnection"></select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">业务关系</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in businessConnectionList" ng-model="addContactInfo.personalityInfo.businessConnection"></select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">重要性</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-options="x.value as x.name for x in importanceToMeList" ng-model="addContactInfo.personalityInfo.importanceToMe"></select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">备注</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.personalityInfo.remark"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                政治属性
                            </div>
                            <div class="box-body">
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">党派</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.party"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">宗教</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.baseInfo.religion"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                工作信息
                            </div>
                            <div class="box-body">
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">单位名称</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.userCompanyName" ng-click="selectUserCompany()" readonly/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">部门</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.employeeInfo.department"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">职位</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.employeeInfo.position"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">职责</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.employeeInfo.responsibility"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">级别</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-model="addContactInfo.employeeInfo.level" ng-options="x.value as x.name for x in levelList"></select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">专业类别</div>
                                            <div class="col-md-10">
                                                <select class="form-control" ng-model="addContactInfo.employeeInfo.professionsType" ng-options="x.value as x.name for x in professonsTypeList"></select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row contact">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-5">
                                        <div class="row">
                                            <div class="col-md-2">汇报上级</div>
                                            <div class="col-md-10">
                                                <input class="form-control" ng-model="addContactInfo.employeeInfo.leaderName" ng-click="selectParentContact()" readonly/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                工作经历
                                <div class="tools">
                                    <i class="fa fa-plus-circle" ng-click="addWorkHistory()"></i>
                                </div>
                            </div>
                            <div class="box-body">
                                <div class="row contact" ng-repeat="item in addContactInfo.workHistorys track by $index">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-10">
                                        <div class="row contact">
                                            <div class="col-md-1">单位</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.company"/></div>
                                            <div class="col-md-1">部门</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.deparment"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">职位</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.position"/></div>
                                            <div class="col-md-1">职责</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.responsibility"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">入职时间</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.beginDate"/></div>
                                            <div class="col-md-1">离职时间</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.endDate"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">级别</div>
                                            <div class="col-md-5"><select class="form-control" ng-model="item.level" ng-options="x.value as x.name for x in levelList"></select></div>
                                            <div class="col-md-1">专业类别</div>
                                            <div class="col-md-5"><select class="form-control" ng-model="item.professionsType" ng-options="x.value as x.name for x in professonsTypeList"></select></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">汇报对象</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.position"/></div>
                                        </div>
                                    </div>
                                    <div class="col-md-1"><i class="fa fa-minus-circle" ng-click="deleteWorkHistory($index)"></i></div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                教育经历
                                <div class="tools">
                                    <i class="fa fa-plus-circle" ng-click="addEducationHistory()"></i>
                                </div>
                            </div>
                            <div class="box-body">
                                <div class="row contact" ng-repeat="item in addContactInfo.educationHistorys track by $index">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-10">
                                        <div class="row contact">
                                            <div class="col-md-1">学校</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.school"/></div>
                                            <div class="col-md-1">学院</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.institute"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">系</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.faculty"/></div>
                                            <div class="col-md-1">专业</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.major"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">入学日期</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.entranceDate"/></div>
                                            <div class="col-md-1">毕业日期</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.graduateDate"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">班级</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.schoolClass"/></div>
                                            <div class="col-md-1">学位</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.diploma"/></div>
                                        </div>
                                    </div>
                                    <div class="col-md-1"><i class="fa fa-minus-circle" ng-click="deleteEducationHistory($index)"></i></div>
                                </div>
                            </div>
                        </div>

                        <div class="box border clearfix">
                            <div class="box-title">
                                家庭成员
                                <div class="tools">
                                    <i class="fa fa-plus-circle" ng-click="addFamilyInfo()"></i>
                                </div>
                            </div>
                            <div class="box-body">
                                <div class="row contact" ng-repeat="item in addContactInfo.familyInfos track by $index">
                                    <div class="col-md-1"></div>
                                    <div class="col-md-10">
                                        <div class="row contact">
                                            <div class="col-md-1">姓名</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.name"/></div>
                                            <div class="col-md-1">性别</div>
                                            <div class="col-md-5"><select class="form-control" ng-model="item.gender" ng-options="x.value as x.name for x in genderList"></select></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">关系</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.relation"/></div>
                                            <div class="col-md-1">年龄</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.age"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">工作单位</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.workUnit"/></div>
                                            <div class="col-md-1">教育背景</div>
                                            <div class="col-md-5"><input class="form-control" ng-model="item.educational"/></div>
                                        </div>
                                        <div class="row contact">
                                            <div class="col-md-1">备注</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.remark"/></div>
                                            <div class="col-md-1">关系评价</div>
                                            <div class="col-md-5"><input class="form-control" type="date" ng-model="item.evaluation"/></div>
                                        </div>
                                    </div>
                                    <div class="col-md-1"><i class="fa fa-minus-circle" ng-click="deleteFamilyInfo($index)"></i></div>
                                </div>
                            </div>
                        </div>

                    </form>

                </div>
            </div>
        </div>
    </div>
</div>